/*
 * $Id: HkcaavqValidation.java 3 2011-12-26 07:48:43Z forwardly@hotmail.com $
 * 
 * Copyright (c) 2001-2008 Accentrix Company Limited. All Rights Reserved.
 * 
 * Accentrix Company Limited. ("Accentrix") retains copyright on all text, source
 * and binary code contained in this software and documentation. Accentrix grants
 * Licensee a limited license to use this software, provided that this copyright
 * notice and license appear on all copies of the software. The software source
 * code is provided for reference purposes only and may not be copied, modified 
 * or distributed.
 * 
 * THIS SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS," WITHOUT ANY WARRANTY OF
 * ANY KIND UNLESS A SEPARATE WARRANTIES IS PURCHASED FROM ACCENTRIX AND REMAINS
 * VALID.  ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
 * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 * PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. ACCENTRIX SHALL NOT BE LIABLE
 * FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING OR MODIFYING THE
 * SOFTWARE OR ITS DERIVATIVES.
 * 
 * IN NO EVENT WILL ACCENTRIX BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR
 * FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES,
 * HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE
 * USE OF OR INABILITY TO USE SOFTWARE, EVEN IF ACCENTRIX HAS BEEN ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGES.
 */
package com.lightsaber.trade.as.entity.programme;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.lightsaber.trade.core.entity.BaseEntity;

@Entity
@Table(name = "MHPP_HKCAAVQ_VALIDATION")
public class HkcaavqValidation extends BaseEntity {

    private static final long serialVersionUID = -6642549263026799799L;

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "PROGRAMME_CODE")
    private ProgrammeCode programmeCode;

    @Column(name = "AREA_OF_STUDY", nullable = true, length = 50)
    private String areaOfStudy;

    @Column(name = "PROGRAMME_AREA", nullable = true, length = 50)
    private String programmeArea;

    @Column(name = "VALIDATION_PERIOD_FROM", nullable = true)
    private Date validationPeriodFrom;

    @Column(name = "VALIDATION_PERIOD_TO", nullable = true)
    private Date validationPeriodTo;

    public ProgrammeCode getProgrammeCode() {
        return programmeCode;
    }

    public void setProgrammeCode(final ProgrammeCode programmeCode) {
        this.programmeCode = programmeCode;
    }

    public String getAreaOfStudy() {
        return areaOfStudy;
    }

    public void setAreaOfStudy(final String areaOfStudy) {
        this.areaOfStudy = areaOfStudy;
    }

    public String getProgrammeArea() {
        return programmeArea;
    }

    public void setProgrammeArea(final String programmeArea) {
        this.programmeArea = programmeArea;
    }

    public Date getValidationPeriodFrom() {
        return validationPeriodFrom;
    }

    public void setValidationPeriodFrom(final Date validationPeriodFrom) {
        this.validationPeriodFrom = validationPeriodFrom;
    }

    public Date getValidationPeriodTo() {
        return validationPeriodTo;
    }

    public void setValidationPeriodTo(final Date validationPeriodTo) {
        this.validationPeriodTo = validationPeriodTo;
    }

}
